package com.groupnections.shared.entities;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 
 * @Entity
 */
public class User implements Serializable {

	private static final long serialVersionUID = 1L;

	private Long userID;

	private String nickName;

	private String name;

	private String contact;

	private String email;

	private String password;

	private String groups;

	private List<Problem> userProblems = new ArrayList<Problem>();

	private List<Solution> userSolutions = new ArrayList<Solution>();

	public Long getUserID() {
		return userID;
	}

	public void setUserID(Long userID) {
		this.userID = userID;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getGroups() {
		return groups;
	}

	public void setGroups(String groups) {
		this.groups = groups;
	}

	public List<Problem> getUserProblems() {
		return userProblems;
	}

	public void setUserProblems(List<Problem> userProblems) {
		this.userProblems = userProblems;
	}

	public List<Solution> getUserSolutions() {
		return userSolutions;
	}

	public void setUserSolutions(List<Solution> userSolutions) {
		this.userSolutions = userSolutions;
	}

}
